package com.xaicode.auth.security;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * 在线用户信息包装
 * 
 * @date 2024/12/6
 */
@Data
public class OnlineUserVo {

    private String id;
    private String username;
    private String nickname;
    private String deptName;
    private String loginIp;
    private String loginRegion;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date loginTime;

    private String browser;
    private String os;

}
